from django.contrib import admin
from .models import Spider, Task 

# Register your models here.
class SpiderAdmin(admin.ModelAdmin):
    list_display = ("spider_name", "ip", "project_name")
    readonly_fields = ("id", "update_time")

    
admin.site.register(Spider, SpiderAdmin)
admin.site.register(Task)
